package com.ourteam.system.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:19
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseSysMessageReadStatusDAO extends IDataAccessInterface<SysMessageReadStatus, SysMessageReadStatusDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "SYS_MESSAGE_READ_STATUS";

    /**
     * Mapped Field ID
    */
    static final String Id = "SYS_MESSAGE_READ_STATUS.ID";

    /**
     * Mapped Field SYS_MESSAGE_ID
    */
    static final String SysMessageId = "SYS_MESSAGE_READ_STATUS.SYS_MESSAGE_ID";

    /**
     * Mapped Field RECEIVER_ID
    */
    static final String ReceiverId = "SYS_MESSAGE_READ_STATUS.RECEIVER_ID";

    /**
     * Mapped Field READ_TIME
    */
    static final String ReadTime = "SYS_MESSAGE_READ_STATUS.READ_TIME";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "SYS_MESSAGE_READ_STATUS.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "SYS_MESSAGE_READ_STATUS.REMARKS";

    /**
     * Mapped Field IS_DROPED
    */
    static final String IsDroped = "SYS_MESSAGE_READ_STATUS.IS_DROPED";

    /**
     * Mapped Attribute receiverName
    */
    static final String ReceiverName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Mapped Attribute receiverAccount
    */
    static final String ReceiverAccount = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserAccount,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Mapped Attribute sysMessageTitle
    */
    static final String SysMessageTitle = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysMessageDAO.Title,
            com.ourteam.system.dao.ISysMessageDAO.EntityName + ".",
            "SYS_MESSAGE.");

    /**
     * Mapped Attribute sysMessagePriority
    */
    static final String SysMessagePriority = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysMessageDAO.Priority,
            com.ourteam.system.dao.ISysMessageDAO.EntityName + ".",
            "SYS_MESSAGE.");

    /**
     * Mapped Attribute sysMessageSendTime
    */
    static final String SysMessageSendTime = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysMessageDAO.SendTime,
            com.ourteam.system.dao.ISysMessageDAO.EntityName + ".",
            "SYS_MESSAGE.");

    /**
     * Mapped Attribute sysMessageStatus
    */
    static final String SysMessageStatus = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysMessageDAO.Status,
            com.ourteam.system.dao.ISysMessageDAO.EntityName + ".",
            "SYS_MESSAGE.");

    /**
     * Mapped Attribute sysMessageContent
    */
    static final String SysMessageContent = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysMessageDAO.Content,
            com.ourteam.system.dao.ISysMessageDAO.EntityName + ".",
            "SYS_MESSAGE.");

    /**
     * Mapped Attribute sysMessageSenderName
    */
    static final String SysMessageSenderName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".",
            "SYS_MESSAGE_SENDER.");

    /**
     * Mapped Attribute sysMessageSenderAccount
    */
    static final String SysMessageSenderAccount = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserAccount,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".",
            "SYS_MESSAGE_SENDER.");

    /**
     * Mapped Attribute sysMessageSenderId
    */
    static final String SysMessageSenderId = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.Id,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".",
            "SYS_MESSAGE_SENDER.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    SysMessageReadStatus findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute sysMessageId
         */
        static final String SysMessageId = "sysMessageId";

        /**
         * Attribute receiverId
         */
        static final String ReceiverId = "receiverId";

        /**
         * Attribute readTime
         */
        static final String ReadTime = "readTime";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute receiverName
         */
        static final String ReceiverName = "receiverName";

        /**
         * Attribute receiverAccount
         */
        static final String ReceiverAccount = "receiverAccount";

        /**
         * Attribute sysMessageTitle
         */
        static final String SysMessageTitle = "sysMessageTitle";

        /**
         * Attribute sysMessageSenderId
         */
        static final String SysMessageSenderId = "sysMessageSenderId";

        /**
         * Attribute sysMessageSenderName
         */
        static final String SysMessageSenderName = "sysMessageSenderName";

        /**
         * Attribute sysMessageSenderAccount
         */
        static final String SysMessageSenderAccount = "sysMessageSenderAccount";

        /**
         * Attribute sysMessagePriority
         */
        static final String SysMessagePriority = "sysMessagePriority";

        /**
         * Attribute sysMessageSendTime
         */
        static final String SysMessageSendTime = "sysMessageSendTime";

        /**
         * Attribute sysMessageStatus
         */
        static final String SysMessageStatus = "sysMessageStatus";

        /**
         * Attribute isDroped
         */
        static final String IsDroped = "isDroped";

        /**
         * Attribute sysMessageContent
         */
        static final String SysMessageContent = "sysMessageContent";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
